<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="page" value="#{mmSupplierContactBean.page}"/>
		<f:event type="preRenderView" listener="#{mmSupplierContactBean.paginate}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Search Mm Supplier Contact entities"/>

	<ui:define name="header">
		Mm Supplier Contact
	</ui:define>

	<ui:define name="subheader">
		Search Mm Supplier Contact entities
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="search">
			<f:validateBean disabled="true">
				<h:panelGroup styleClass="search">

					<h:panelGrid columnClasses="label,component,required" columns="3">
						<h:outputLabel for="mmSupplierContactBeanExampleSysTitleName" value="Sys Title Name:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{sysTitleNameBean.converter}" id="mmSupplierContactBeanExampleSysTitleName" value="#{mmSupplierContactBean.example.sysTitleName}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysTitleNameBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="mmSupplierContactBeanExampleSysTitleName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="mmSupplierContactBeanExampleMmSupplier" value="Mm Supplier:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{mmSupplierBean.converter}" id="mmSupplierContactBeanExampleMmSupplier" value="#{mmSupplierContactBean.example.mmSupplier}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{mmSupplierBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="mmSupplierContactBeanExampleMmSupplier" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="mmSupplierContactBeanExampleSupplierContactFirstName" value="Supplier Contact First Name:"/>
						<h:panelGroup>
							<h:inputText id="mmSupplierContactBeanExampleSupplierContactFirstName" maxLength="50" value="#{mmSupplierContactBean.example.supplierContactFirstName}"/>
							<h:message for="mmSupplierContactBeanExampleSupplierContactFirstName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="mmSupplierContactBeanExampleSupplierContactMidName" value="Supplier Contact Mid Name:"/>
						<h:panelGroup>
							<h:inputText id="mmSupplierContactBeanExampleSupplierContactMidName" maxLength="50" value="#{mmSupplierContactBean.example.supplierContactMidName}"/>
							<h:message for="mmSupplierContactBeanExampleSupplierContactMidName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="mmSupplierContactBeanExampleSupplierContactLastName" value="Supplier Contact Last Name:"/>
						<h:panelGroup>
							<h:inputText id="mmSupplierContactBeanExampleSupplierContactLastName" maxLength="50" value="#{mmSupplierContactBean.example.supplierContactLastName}"/>
							<h:message for="mmSupplierContactBeanExampleSupplierContactLastName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
					</h:panelGrid>
					<h:panelGroup styleClass="buttons">
						<h:commandLink value="Search" action="#{mmSupplierContactBean.search}" styleClass="btn btn-primary"/>
						<h:commandLink value="Create New" action="#{mmSupplierContactBean.create}" styleClass="btn btn-primary"/>
					</h:panelGroup>
				</h:panelGroup>
			</f:validateBean>
			
			<h:dataTable id="mmSupplierContactBeanPageItems" styleClass="data-table" value="#{mmSupplierContactBean.pageItems}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Title Name"/>
					</f:facet>
					<h:link outcome="/mmSupplierContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysTitleName" value="#{forgeview:display(_item.sysTitleName)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Mm Supplier"/>
					</f:facet>
					<h:link outcome="/mmSupplierContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemMmSupplier" value="#{forgeview:display(_item.mmSupplier)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Supplier Contact First Name"/>
					</f:facet>
					<h:link outcome="/mmSupplierContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSupplierContactFirstName" value="#{_item.supplierContactFirstName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Supplier Contact Mid Name"/>
					</f:facet>
					<h:link outcome="/mmSupplierContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSupplierContactMidName" value="#{_item.supplierContactMidName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Supplier Contact Last Name"/>
					</f:facet>
					<h:link outcome="/mmSupplierContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSupplierContactLastName" value="#{_item.supplierContactLastName}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<ui:include src="/resources/scaffold/paginator.xhtml">
				<ui:param name="paginatorBean" value="#{mmSupplierContactBean}"/>
			</ui:include>
		</h:form>
			
	</ui:define>

</ui:composition>
